size(300, 300)
import time
from math import sin, radians


speed(30)

x = 118
y = 108

try:
    import psyco
    psyco.bind(rect)
    psyco.bind(curveto)

except:
    pass

rect(x, y, 269, 160)

def setup():
    global frame
    frame = 1
    
def draw():
    global distort
    
    global frame
    frame += 1
    
    fill(0, 0.24, 0.23)
    rect(0, 0, WIDTH, HEIGHT)
    
    for i in range(30):
        nofill()
        stroke(0.5, 1, 0)
        strokewidth(0.5)
        
        rotate(12)
        
        v = sin(radians(frame)) * i * 20
        autoclosepath(False)
        beginpath(150, 150)
        curveto(v, -v, v, v, 200, 200)
        endpath()